// import Vue from 'vue'
// import Router from 'vue-router'


// Vue.use(Router)
// var router = new Router({
//   routes: [
//     {
//       path: '/ConsumablesDistribute',
//       name: 'ConsumablesDistribute',
//       meta: { requireAuth: true },
//       component: (resolve) => require(['@/views/Consumables/ConsumablesDistribute'], resolve)
//     },
//     {
//       path: '/',
//       name: 'ConsumablesStorage',
//       component: (resolve) => require(['@/views/Consumables/ConsumablesStorage'], resolve)
//     },
//     {
//       path: '/ConsumablesUnprocessed',
//       name: 'ConsumablesUnprocessed',
//       component: (resolve) => require(['@/views/Consumables/ConsumablesUnprocessed'], resolve)
//     },
//     ,
//     {
//       path: '/ConsumvlesWriteoff',
//       name: 'ConsumvlesWriteoff',
//       component: (resolve) => require(['@/views/Consumables/ConsumvlesWriteoff'], resolve)
//     }
    
//     // {
//     //   path: '/structureManage',
//     //   name: 'structureManage',
//     //   component: (resolve) => require(['@/views/SystemMange/structureManage.vue'], resolve)
//     // }
//     // {
//     //   path:'/*',
//     //   name: '404',
//     //   component: (resolve)=> require(['@/components/Page404'],resolve)
//     // },
//   ]
// })

// router.$addRoutes = (params) => {
//   router.matcher = new Router({ mode: 'history' }).matcher
//   router.addRoutes(params)
// }



// export default router
